package com.black.app.service.find;


import com.baomidou.mybatisplus.extension.service.IService;
import com.black.app.domain.find.AppFindZhangzhishi;
import com.black.app.domain.req.find.add.Zhangzhishiaddreq;
import com.black.app.domain.req.find.edit.ZhangzhishiEssayEidtreq;
import com.black.app.domain.req.find.query.AppFindZhangzhishiessayreq;
import com.black.app.domain.resp.find.FindZhangzhishiresp;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
* @author 30223
* @description 针对表【app_find_zhangzhishi(涨知识-文章)】的数据库操作Service
* @createDate 2024-10-25 11:59:26
*/
public interface AppFindZhangzhishiService extends IService<AppFindZhangzhishi> {

    boolean add(Zhangzhishiaddreq req);

    PageInfo<AppFindZhangzhishi> paginationQuery(AppFindZhangzhishiessayreq req);


    List<AppFindZhangzhishi> findByTitleId(Long typeId);

    FindZhangzhishiresp findById(Long id);

    boolean deleteById(Long id);

    boolean updateessay(ZhangzhishiEssayEidtreq req);
}
